package grape.workflow.service.model.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import grape.workflow.service.model.api.IWorkflowDeModelService;
import grape.workflow.service.model.dto.DeModelDto;
import grape.workflow.service.model.mapper.DeModelMapper;
import grape.workflow.service.model.query.DeModelQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by yangwei
 * Created at 2020/6/29 11:43
 */
@Service
public class WorkflowDeModelServiceImpl implements IWorkflowDeModelService {
    @Autowired
    private DeModelMapper deModelMapper;
    @Override
    public IPage<DeModelDto> list(IPage<DeModelDto> page, DeModelQuery deModelQuery) {
        return deModelMapper.list(page,deModelQuery);
    }
}
